WooCommerce\Facebook\Framework\Helper S

Total Complexity 50
Dependencies 1
Dependents 16
Total lines 420
Lines of code 147
Logical lines of code 83
Comment lines 198
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
trigger_error()
S
57 5 17
is_rest_api_request()
S
61 5 11
str_truncate()
S
58 4 16
str_starts_with()
S
60 4 14
str_exists()
S
60 4 14
array_insert_after()
S
62 4 12
str_ends_with()
S
61 3 12
get_posted_value()
S
68 3 7
get_requested_value()
S
68 3 7
wc_notice_count()
S
71 2 6
wc_add_notice()
S
73 2 5
wc_print_notice()
S
73 2 5
get_site_name()
S
78 2 3
get_current_screen()
S
76 2 4
is_current_screen()
S
75 2 4
str_to_ascii()
S
74 1 4
multibyte_loaded()
S
80 1 3
number_format()
S
78 1 3